package com.itheima.servlet;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(value = "/role/*" ,loadOnStartup = 1,initParams = {@WebInitParam(name="username",value="itheima")})
public class RoleServlet extends BaseServlet {

    private void save(HttpServletRequest req, HttpServletResponse resp) {
        /*String value = getInitParameter("key");
        System.out.println(value);*/
        System.out.println("role添加");
    }
    private void delete(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("role删除");
    }
    private void update(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("role更新");
    }
    private void find(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("role查看");
    }

}
